package com.pj.wisdomlogistics.mvp.contract;


import com.pj.wisdomlogistics.entity.RepairQuestions;
import com.pj.wisdomlogistics.mvp.frame.base.BasePresenter;
import com.pj.wisdomlogistics.mvp.frame.base.BaseView;

import java.io.File;
import java.util.List;


public interface RepairContract {
    public interface View extends BaseView {
        public void onError(int errorCode , String errorMsg);
        public void onSuccess(double id);
        public void onFindSuccess(List<RepairQuestions> mList);
    }

    public interface Presenter extends BasePresenter {
        public void submitRepairApply(
                String userID,
                String questionIDs,
                String bespeakStartTime,
                String bespeakEndTime,
                String faultPlace,
                String faultDetail,
                String remark,
                List<File> mFiles,
                String place
        );

        public void findQuestions();
    }
}
